<?php

/**
 * Qview is the main template to
 * view just about any page
 * in questions module
 * 
 * In default view it has 2 columns,
 * in mobile view it will have just one
 * column.
 * 
 * Header has something like breadcrumb,
 * body has the parsed view of oneQuestion 
 * or List view template
 * 
 * and the right column (or somewhere at the bottom
 * or not all all in mobile view) is the block with
 * tags like 'recent tags' or 'unanswered tags' or
 * 'related tags' or could be 'similar questions' when
 * viewing a single question.
 *
 */
class tplQview extends StudyBuddy\Template\Template{

	protected static $vars = array(
	'header' => '', //1
	'body' => '', //2
	'footer' => '', //3
	'tags' => '', // 4
	'toptabs' => '', // 5
	'topright' => '', // 6
	'right2' => '', // 7
	'right3' => '', // 8
	'right4' => '', // 9
	'right5' => '' // 10
	);


	protected static $tpl = '
	<div id="qview">
	<div class="yui-ge">
         <div class="yui-u first">
         	<div id="qview-main">
         	%5$s
         		<div class="qheader">%1$s</div>
         		<div id="qview-body">%2$s</div>
         	</div>	
         	<div id="qview-footer">%3$s
         	<div id="ccwiki-copyright">Questions and Answers are licensed under <a href="http://creativecommons.org/licenses/by-sa/2.5/" rel="nofollow" target="_blank">cc-wiki</a> license.</div>
         	</div>
         </div>
    	<div class="yui-u">
         <!-- right side -->
         	<div id="qview-side">
         	%6$s
         	%7$s
         	%8$s
         	%9$s
         	%10$s
         	%4$s
         	</div>
         </div>
      </div>
      </div>';
}